package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_name")
    private String user_name;

    @TableField("user_mobile")
    private Long user_mobile;

    @TableField("userid")
    private String userid;

    @TableField("user_title")
    private String user_title;

    @TableField("dept_id")
    private Integer dept_id;

    @TableField("user_type")
    private Integer user_type;

    @TableField("unionid")
    private String unionid;
}
